package behavior.TemplateMethod;

/**
 * Created by LYJ on 2016/10/20.
 */
public class Dao {
    //实际情况要操作数据库
    public static User getById(int id){
        User user=new User();
        user.setName("tom");
        return user;
    }
}
